package com.yjz.proxy.jdkproxy;

/**
 * @author :yuanJinZhong
 * @description:学生类
 * @date :2018/4/26-11:47
 */
public class Student implements StudyInterface,PlayInterface {

  @Override
  public void study(String subjectName) {
    System.out.println("学习学习" + subjectName);
  }

  @Override
  public String toString() {
    return "Student{}";
  }

  @Override
  public void play(String something) {

    System.out.println("玩一玩"+something);

  }

  public  void  sing(){
    System.out.println("学生唱歌");
  }

}
